package com.changwen.currentactivity;

import android.app.Application;

import com.blankj.utilcode.util.AppUtils;
import com.blankj.utilcode.util.LogUtils;

/**
 * <pre>
 *     author: lcw
 *     date  : 2022/7/13
 *     desc  : ∧_∧
 * </pre>
 */
public class CurrentActivityApp extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        LogUtils.getConfig()
                .setLogSwitch(AppUtils.isAppDebug())
                .setConsoleSwitch(AppUtils.isAppDebug())
                .setLogHeadSwitch(AppUtils.isAppDebug())
                .setGlobalTag(AppUtils.getAppName());
    }
}
